Skip to main content

Permutations and Combinations

Subject: Additional Mathematics
Topic: 8
Cambridge Code: 4037 / 0606


Fundamental Counting Principle

Fundamental Counting Principle - If one task can be done in mm ways and another in nn ways, both tasks can be done in m×nm \times n ways

Example

A restaurant menu has 3 appetizers, 5 main courses, 4 desserts. Number of possible 3-course meals: 3×5×4=603 \times 5 \times 4 = 60


Factorial Notation

Factorial - Product of all positive integers from 1 to nn

n!=n×(n1)×(n2)××2×1n! = n \times (n-1) \times (n-2) \times \cdots \times 2 \times 1

Special Cases

0!=10! = 1 1!=11! = 1 2!=22! = 2 3!=63! = 6 4!=244! = 24 5!=1205! = 120


Permutations

Permutation - Arrangement where order matters

Permutations of n objects

Number of ways to arrange nn distinct objects: P(n)=n!P(n) = n!

Example: Arrange 5 books on a shelf: 5!=120 ways5! = 120 \text{ ways}

Permutations of r objects from n

Number of arrangements of rr objects selected from nn objects:

P(n,r)=nPr=n!(nr)!P(n, r) = {}^nP_r = \frac{n!}{(n-r)!}

Or: nPr=n(n1)(n2)(nr+1){}^nP_r = n(n-1)(n-2)\cdots(n-r+1)

Example

Arrange 3 letters from A, B, C, D, E:

5P3=5!2!=1202=60{}^5P_3 = \frac{5!}{2!} = \frac{120}{2} = 60

Or: 5×4×3=605 \times 4 \times 3 = 60

Permutations with Repetitions

Number of arrangements with rr choices from nn objects (repetition allowed):

nrn^r

Example: 4-digit PIN from digits 0-9: 104=10,00010^4 = 10,000


Combinations

Combination - Selection where order does NOT matter

Combinations of r objects from n

Number of ways to select rr objects from nn objects:

C(n,r)=nCr=(nr)=n!r!(nr)!C(n, r) = {}^nC_r = \binom{n}{r} = \frac{n!}{r!(n-r)!}

Example

Select 3 letters from A, B, C, D, E:

5C3=5!3!2!=1206×2=10{}^5C_3 = \frac{5!}{3!2!} = \frac{120}{6 \times 2} = 10

Relationship Between Permutations and Combinations

nPr=nCr×r!{}^nP_r = {}^nC_r \times r!

This makes sense: to arrangey, first select (nCr{}^nC_r), then arrange the selection (r!r!)


Properties of Combinations

nC0=1{}^nC_0 = 1 nCn=1{}^nC_n = 1 nCr=nCnr{}^nC_r = {}^nC_{n-r}

Example of Symmetry

6C2=6C4=15{}^6C_2 = {}^6C_4 = 15


Binomial Expansion

Binomial Theorem - Expansion of (a+b)n(a+b)^n:

(a+b)n=r=0nnCranrbr(a+b)^n = \sum_{r=0}^{n} {}^nC_r \cdot a^{n-r} \cdot b^r

Or explicitly: (a+b)n=nC0an+nC1an1b+nC2an2b2++nCnbn(a+b)^n = {}^nC_0 a^n + {}^nC_1 a^{n-1}b + {}^nC_2 a^{n-2}b^2 + \cdots + {}^nC_n b^n

Example

Expand (x+2)3(x+2)^3:

(x+2)3=3C0x3+3C1x2(2)+3C2x(2)2+3C3(2)3(x+2)^3 = {}^3C_0 x^3 + {}^3C_1 x^2(2) + {}^3C_2 x(2)^2 + {}^3C_3 (2)^3

=x3+3x2(2)+3x(4)+8= x^3 + 3x^2(2) + 3x(4) + 8

=x3+6x2+12x+8= x^3 + 6x^2 + 12x + 8


Permutations with Identical Objects

When arranging nn objects where some are identical:

Number of arrangements=n!n1!n2!nk!\text{Number of arrangements} = \frac{n!}{n_1! \cdot n_2! \cdots n_k!}

where n1,n2,,nkn_1, n_2, \ldots, n_k are frequencies of identical objects

Example

Arrange letters in MISSISSIPPI:

  • Total letters: 11
  • M: 1, I: 4, S: 4, P: 2

11!1!4!4!2!=39,916,8001×24×24×2=34,650\frac{11!}{1! \cdot 4! \cdot 4! \cdot 2!} = \frac{39,916,800}{1 \times 24 \times 24 \times 2} = 34,650


Circular Permutations

Circular Permutation - Arrangement in a circle (rotations considered identical)

For nn distinct objects: (n1)!(n-1)!

Example

Arrange 4 people around a circular table: (41)!=3!=6(4-1)! = 3! = 6


Key Points to Remember

  1. Permutations: order matters - use nPr{}^nP_r
  2. Combinations: order doesn't matter - use nCr{}^nC_r
  3. Factorial: n!=n(n1)(n2)1n! = n(n-1)(n-2)\cdots 1
  4. Permutations formula: nPr=n!(nr)!{}^nP_r = \frac{n!}{(n-r)!}
  5. Combinations formula: nCr=n!r!(nr)!{}^nC_r = \frac{n!}{r!(n-r)!}
  6. Binomial theorem uses combinations as coefficients

Worked Examples

Example 1: Simple Permutation

How many 3-letter "words" can be formed from A, B, C, D (no repetition)?

4P3=4×3×2=24{}^4P_3 = 4 \times 3 \times 2 = 24

Example 2: Combination

A team of 5 is chosen from 12 people. How many ways?

12C5=12!5!7!=12×11×10×9×85×4×3×2×1=792{}^{12}C_5 = \frac{12!}{5!7!} = \frac{12 \times 11 \times 10 \times 9 \times 8}{5 \times 4 \times 3 \times 2 \times 1} = 792

Example 3: Binomial Coefficient

Find the coefficient of x2x^2 in (2x3)4(2x-3)^4:

Using 4C2(2x)2(3)2{}^4C_2 (2x)^2(-3)^2: 4C2×4x2×9=6×4×9×x2=216x2{}^4C_2 \times 4x^2 \times 9 = 6 \times 4 \times 9 \times x^2 = 216x^2

Coefficient: 216


Practice Questions

  1. Calculate:

    • 6P3{}^6P_3
    • 8C3{}^8C_3
    • 7P4÷7C4{}^7P_4 \div {}^7C_4
  2. How many ways can 6 people be arranged in a line?

  3. From 10 students, choose 4 for a committee. How many ways?

  4. Expand (ab)4(a-b)^4


Revision Tips

  • Permutation = arrangement (order matters)
  • Combination = selection (order doesn't matter)
  • Use factorial for all elements
  • Use nPr{}^nP_r and nCr{}^nC_r formulas correctly
  • Think about whether order matters in problem
  • Binomial theorem: coefficients are combinations